<?php

/**
 * Subclass for performing query and update operations on the 'hs_alert' table.
 *
 * 
 *
 * @package lib.model
 */ 
class AlertPeer extends BaseAlertPeer
{
	public static function deleteAlerts($id){
		$c = new Criteria();
		$c->add(self::OBJECT_ID, $id);
		$result = self::doSelect($c); 
		foreach($result as $r){
			$r->delete();
		}
	}
}
